package com.zsummer.demo.cloudfeignconsumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author zsummer
 * @since 2022/2/11
 */
@FeignClient(value = "cloud-feign-provider", fallback = TestServiceFallback.class)
public interface TestService {

    @GetMapping(value = "/hello")
    public String hello();

}
